package com.xiaoxx.rabbitmq.constant;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 	$BrokerMessageStatus
 * 	消息的发送状态
 * @author daihuhu
 *
 */
@Getter
@AllArgsConstructor
public enum BrokerMessageStatus {

	SENDING("0", "发送中"),
	SEND_OK("1", "发送成功"),
	SEND_FAIL("2", "发送失败"),
	SEND_FAIL_ROUTING("3", "路由失败");
	
	private final String code;
	private final String name;

}
